Authorizations
Secret JWT token for authenticating requests obtained from Sequence Builder - should not be exposed publicly.
Response
OK
curl --request POST \
  --url https://metadata.sequence.app/rpc/Collections/CreateAsset \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "projectId": 30957,
  "asset": {
    "collectionId": 894,
    "tokenId": "6",
    "metadataField": "image",
    "url": "https://metadata.sequence.app/projects/30957/collections/895/tokens/2/image.png",
    "filename": "image.png",
    "filesize": 670912,
    "mimeType": "image/png",
    "width": 1024,
    "height": 1024
  }
}'{
  "asset": {
    "id": 4418,
    "collectionId": 894,
    "tokenId": "6",
    "url": "",
    "metadataField": "image",
    "updatedAt": "2024-10-25T01:29:44.686464786Z"
  }
}curl --request POST \
  --url https://metadata.sequence.app/rpc/Collections/CreateAsset \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "projectId": 30957,
  "asset": {
    "collectionId": 894,
    "tokenId": "6",
    "metadataField": "image",
    "url": "https://metadata.sequence.app/projects/30957/collections/895/tokens/2/image.png",
    "filename": "image.png",
    "filesize": 670912,
    "mimeType": "image/png",
    "width": 1024,
    "height": 1024
  }
}'{
  "asset": {
    "id": 4418,
    "collectionId": 894,
    "tokenId": "6",
    "url": "",
    "metadataField": "image",
    "updatedAt": "2024-10-25T01:29:44.686464786Z"
  }
}Secret JWT token for authenticating requests obtained from Sequence Builder - should not be exposed publicly.
OK
Show child attributes
Was this page helpful?